#include "dominion.h"
#include "dominion_helpers.h"
#include <string.h>
#include <assert.h>
#include <stdio.h>
#include <math.h>

#define DEBUG 0
#define NOISY_TEST 1

// unit tests the function getCost().
int main() {
	int vals[26] = {0,2,5,8,0,3,6,6,5,4,4,5,4,4,3,4,3,5,3,5,3,4,2,5
				,4,4,4};

	int i = rand()%26;
	printf("Random number: %d\nExpected value: %d\n", i, vals[i]);
	int j = getCost(i);
	printf("Value from getCost(i) = %d\n", j);
	assert(j == vals[i]);
	printf("No assertions failed\n");

	return 0;
}
